package com.xingkeduo.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.xingkeduo.model.example.TActivityExample;
import com.xingkeduo.model.po.TActivity;
import com.xingkeduo.model.po.TActivityWithBLOBs;

public interface TActivityMapper {
    int countByExample(TActivityExample example);

    int deleteByExample(TActivityExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TActivityWithBLOBs record);

    int insertSelective(TActivityWithBLOBs record);

    List<TActivityWithBLOBs> selectByExampleWithBLOBs(TActivityExample example);

    List<TActivity> selectByExample(TActivityExample example);

    TActivityWithBLOBs selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TActivityWithBLOBs record, @Param("example") TActivityExample example);

    int updateByExampleWithBLOBs(@Param("record") TActivityWithBLOBs record, @Param("example") TActivityExample example);

    int updateByExample(@Param("record") TActivity record, @Param("example") TActivityExample example);

    int updateByPrimaryKeySelective(TActivityWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(TActivityWithBLOBs record);

    int updateByPrimaryKey(TActivity record);
}